﻿using EmoneyWeiXinDAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EmoneyWeiXinBLL
{
    public class QQKeyBLL
    {
        public static int Insert(string qqNames, string key)
        {
            return QQKeyDAL.Insert(qqNames, key);

        }

        public static int Delete(string key)
        {
            return QQKeyDAL.Delete(key);
        }

        public static int SetStatusTo1(string QQKey)
        {
            return QQKeyDAL.SetStatusTo1(QQKey);
        }

        public static System.Data.DataTable SelectByPage(int pageSize, int pageIndex, out int totalCount)
        {
            return QQKeyDAL.SelectForPage(pageSize, pageIndex, out totalCount);
        }

        public static string GetQiyongKey()
        {
            return QQKeyDAL.GetQiyongKey();
        }
    }
}
